
<?php
$DocRoot = $_SERVER['DOCUMENT_ROOT'];
include_once "$DocRoot/woflow/model/entity.php";
class SysACL extends Entity
{
	public function __construct($bReadOnly=false)
	{
		parent::__construct("sys_acl", "emailID", $bReadOnly=false);
	}
	public function getEmailID()
	{
		return $this->emailID;

	}
	public function setEmailID($emailID)
	{
		$this->emailID = $emailID;

	}
	public function getAclData()
	{
		return $this->aclData;

	}
	public function setAclData($aclData)
	{
		$this->aclData = $aclData;

	}
	public function toJSON()
	{
		return json_decode(
			array(
				"emailID" => $this->emailID,
				"aclData" => $this->aclData
			)
		);

	}

	private $emailID;
	private $aclData;
}
?>
